
#include "liu.h"
#include <AT89X52.h>
unsigned char cho[8]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
unsigned char cha[8]={0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f};

unsigned int i;
void liu()
{
while (1)
{
for(i=0;;i++)
{
P1=cho[i%8];
P0=cha[i%8];

Open_beep();
Delay();
Close_beep();
}
}

}